/*
 * Copyright (c) 2024. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.neusoft.dibu.tyut.myreflect.ex;

import lombok.Data;

import java.util.Date;

@Data
public class Dog {
    public void publicMethod() {
        System.out.println("Dog.publicMethod");
    }

    private void privateMethod() {
        System.out.println("Dog.privateMethod");
    }

    public void publicMethod(int age) {
        System.out.println("Dog.publicMethod  ----  > age  =  " + age);
    }

    private void privateMethod(String name) {

        System.out.println("Dog.publicMethod  ----  > name  =  " + name);
    }

    public String strpublicMethod(int age) {
        System.out.println("Dog.publicMethod  ----  > age  =  " + age);
        return new Date().toString();
    }

    private int intprivateMethod(String name) {
        System.out.println("Dog.publicMethod  ----  > name  =  " + name);
        return name.length();
    }
}
